package com.ctshk.rpc.iotc.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ApiModel(value="OperatePromotionListDTO", description="推广码列表DTO")
public class OperatePromotionListDTO implements Serializable {

    private static final long serialVersionUID = 8681946394599626711L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "活动ID")
    private String activityCode;

    @ApiModelProperty(value = "活动名称")
    private String name;

    @ApiModelProperty(value = "实际优惠金额")
    private BigDecimal money;

    @ApiModelProperty(value = "活动有效期起始")
    private LocalDateTime activityBegin;

    @ApiModelProperty(value = "活动有效期截至")
    private LocalDateTime activityEnd;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "创建人姓名")
    private String createName;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "修改人姓名")
    private String modifiedName;

    @ApiModelProperty(value = "状态")
    private Integer status;

}
